package ooday04;

public class InnerClassDemo {
    public static void main(String[] args) {

    }
}
class Mama{//外部类
    String name;
    void create(){
        Bady b=new Bady();
    }
    class Bady{//内部类
        void show(){
            System.out.println(name);
            System.out.println(Mama.this.name);
        }
    }
}